package com.example.decorator;

import java.math.BigDecimal;

/**
 * Created by fongjx on 2021/6/25.
 */
public class BikeDecorator implements Bike{

    private Bike bike;

    public BikeDecorator(Bike bike) {
        this.bike = bike;
    }

    @Override
    public String getDesc() {
        return bike.getDesc();
    }

    @Override
    public BigDecimal getPrice() {
        return bike.getPrice();
    }
}
